package com.be.beadmin.device.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;

@Entity
@Getter
@Setter
@Table(name="t_de_ehs_standard")
public class EhsStandard extends BaseEntity {
    @Column(name = "identification",columnDefinition = "VARCHAR(50) COMMENT '唯一标识'  not null ")
    private String identification;

    @Column(name = "template_id",columnDefinition = "VARCHAR(20) COMMENT '模板编码'  not null ")
    private String templateId;

    @Column(name = "check_item",columnDefinition = "VARCHAR(20) COMMENT '检查项目'")
    private String checkItem;

    @Column(name = "check_desc",columnDefinition = "VARCHAR(200) COMMENT '检查描述'")
    private String checkDesc;

    /**
     * 是(Y)、否(N)
     */
    @Column(name = "is_valid",columnDefinition = "VARCHAR(10) COMMENT '是否有效'")
    private String isValid;

    @Column(name = "sequence",columnDefinition = "int COMMENT '顺序号'")
    private Integer sequence;

    /**
     * 是(Y)、否(N)
     */
    @Column(name = "is_attached",columnDefinition = "VARCHAR(10) COMMENT '是否需要附件'")
    private String isAttached;

    @Column(name = "notes",columnDefinition = "VARCHAR(200) COMMENT '备注'")
    private String notes;
}
